package com.crissy.datamasking.common;

public class ErrorCode {


    private ErrorCode() {
    }

    public static final int SUCCESS = 200;
    public static final int ERROR = 500;
    public static final int TOKEN_EXPIRED = 401;

    public static final int USER_NOT_EXIST = 10001;
    public static final int USER_PASSWORD_ERROR = 10002;
    public static final int PARAMETER_ILLEGAL = 10003;    // 参数不合法
    public static final int USER_EXIST = 10004;
    public static final int USER_NOT_LOGIN = 10005;
    public static final int USER_NOT_AUTHORIZED = 10006;

    public static final String SUCCESS_MSG = "success";
    public static final String ERROR_MSG = "error";
    public static final String USER_NOT_EXIST_MSG = "用户不存在";
    public static final String USER_PASSWORD_ERROR_MSG = "用户名或密码错误";
    public static final String PARAMETER_ILLEGAL_MSG = "参数不合法";
    public static final String USER_EXIST_MSG = "用户已存在";
    public static final String USER_NOT_LOGIN_MSG = "用户未登录";
    public static final String USER_NOT_AUTHORIZED_MSG = "用户未授权";
    public static final String TOKEN_EXPIRED_MSG = "登录过期！";

}
